export const getRowBtnList = (type: string, chileType: string) => {
  const allBtn = {
    rollback: {
      name: '回退',
      type: '3',
      func: rollbackdel,
    },
  };
  console.log(type, chileType, ': [allBtn.rollback],');

  const btnlist = <any>{
    '11': [allBtn.rollback],
    '21': [allBtn.rollback],
    '31': [allBtn.rollback],
    '41': [allBtn.rollback],
    '51': [allBtn.rollback],
  };
  return btnlist[`${type}${chileType}`];
};
// 回退
const rollbackdel = (param: any) => {
  console.log('回退', param);
  return Promise.resolve();
};

export default null;
